(global.webpackJsonp = global.webpackJsonp || []).push([ [ "xg_o2o/catelist/catelist" ], {
    "26f2": function(t, e, r) {
        "use strict";
        r.r(e);
        var a = r("7532"), n = r("4734");
        for (var o in n) "default" !== o && function(t) {
            r.d(e, t, function() {
                return n[t];
            });
        }(o);
        r("f3cb");
        var i = r("f0c5"), c = Object(i.a)(n.default, a.b, a.c, !1, null, null, null, !1, a.a, void 0);
        e.default = c.exports;
    },
    4734: function(t, e, r) {
        "use strict";
        r.r(e);
        var a = r("988a"), n = r.n(a);
        for (var o in a) "default" !== o && function(t) {
            r.d(e, t, function() {
                return a[t];
            });
        }(o);
        e.default = n.a;
    },
    7532: function(t, e, r) {
        "use strict";
        r.d(e, "b", function() {
            return n;
        }), r.d(e, "c", function() {
            return o;
        }), r.d(e, "a", function() {
            return a;
        });
        var a = {
            gracePage: function() {
                return r.e("graceUI/components/gracePage").then(r.bind(null, "1915"));
            },
            graceFullLoading: function() {
                return r.e("graceUI/components/graceFullLoading").then(r.bind(null, "7669"));
            },
            xmgTabBar: function() {
                return r.e("components/xmgTabBar/xmgTabBar").then(r.bind(null, "cfe5"));
            }
        }, n = function() {
            var t = this, e = (t.$createElement, t._self._c, Object.keys(t.tabBar));
            t.$mp.data = Object.assign({}, {
                $root: {
                    g0: e
                }
            });
        }, o = [];
    },
    "988a": function(t, e, r) {
        "use strict";
        (function(t) {
            Object.defineProperty(e, "__esModule", {
                value: !0
            }), e.default = void 0;
            var r = {
                data: function() {
                    return {
                        bgColor: "",
                        textColor: "",
                        graceFullLoading: !0,
                        titleNViewBackground: "",
                        bottomColor: "",
                        list: [],
                        childList: [],
                        slideList: [],
                        attach: "",
                        tabCur: 0,
                        mainCur: 0,
                        verticalNavTop: 0,
                        load: !0,
                        userWxInfo: {},
                        isRelease: 2,
                        iskefu: 2,
                        showBack: !1,
                        tabBar: {},
                        currentCur: 0,
                        leftColor: "",
                        rightColor: ""
                    };
                },
                onLoad: function() {
                    var t = this, e = getCurrentPages();
                    this.showBack = e.length > 1;
                    var r = this.$xSign.sign("v4catelist");
                    this.$xRequest.request({
                        url: "entry/wxapp/v4catelist",
                        getSession: "no",
                        data: {
                            xgsign: r
                        },
                        success: function(e) {
                            t.graceFullLoading = !1;
                            var r = JSON.parse(t.$Decrypt(e.data.data));
                            0 == e.data.errno && (t.iskefu = r.iskefu, t.attach = r.attach, t.list = r.parent, 
                            t.childList = r.child, t.bottomColor = r.color, t.bgColor = r.bgColor, t.textColor = r.textColor, 
                            t.tabBar = r.tabbar, t.currentCur = r.currentCur, t.leftColor = r.leftcolor, t.rightColor = r.rightcolor);
                        }
                    });
                },
                methods: {
                    swiperChange: function(t) {
                        var e = t.detail.current;
                        this.titleNViewBackground = this.slideList[e].background;
                    },
                    TabSelect: function(t) {
                        this.tabCur = t.currentTarget.dataset.id, this.mainCur = t.currentTarget.dataset.id, 
                        this.verticalNavTop = 50 * (t.currentTarget.dataset.id - 1);
                    },
                    VerticalMain: function(e) {
                        var r = this, a = 0;
                        if (this.load) {
                            for (var n = function(e) {
                                t.createSelectorQuery().select("#main-" + e).fields({
                                    size: !0
                                }, function(n) {
                                    r.list[e].top = a, a += n.height, r.list[e].bottom = a + t.upx2px(10);
                                }).exec();
                            }, o = 0; o < this.list.length; o++) n(o);
                            this.load = !1;
                        }
                        for (var i = e.detail.scrollTop + 10, c = 0; c < this.list.length; c++) if (i > this.list[c].top && i < this.list[c].bottom) return this.verticalNavTop = 50 * (c - 1), 
                        !1;
                    },
                    toCategoryUrl: function(e) {
                        var r = e.currentTarget.dataset.pid, a = e.currentTarget.dataset.color, n = e.currentTarget.dataset.ordernum;
                        t.navigateTo({
                            url: "../cateitem/cateitem?parent=" + r + "&color=" + a + "&ordernum=" + n
                        });
                    }
                },
                computed: {
                    style: function() {
                        var e = this.$systemInfo.info(), r = e.windowHeight - e.statusBarHeight - 44 - t.upx2px(100) - e.iPhoneXBottomHeightPx;
                        return "height:".concat(r, "px;");
                    }
                }
            };
            e.default = r;
        }).call(this, r("543d").default);
    },
    df4b: function(t, e, r) {
        "use strict";
        (function(t) {
            function e(t) {
                return t && t.__esModule ? t : {
                    default: t
                };
            }
            r("4e1e"), e(r("66fd")), t(e(r("26f2")).default);
        }).call(this, r("543d").createPage);
    },
    f3cb: function(t, e, r) {
        "use strict";
        var a = r("f471");
        r.n(a).a;
    },
    f471: function(t, e, r) {}
}, [ [ "df4b", "common/runtime", "common/vendor" ] ] ]);